<#import "/common/function.ftl" as fn>
<@fn.header _title="家庭成员可支配收入">
<script language="javascript" type="text/javascript" src="${base}/web/js/My97DatePicker/WdatePicker.js"></script>
     <script language="javascript" type="text/javascript">
         function showTable() {
             $("#table2").toggle(200);
         }
         function showPerson(personId) {
                <#list familyMembers as data>
                if(personId=='${data.id}'){
	                    $("#registerIncome").val("${data.income.registerIncome}");
	                    $("#unRegisterIncome").val("${data.income.unRegisterIncome}");
	                    $("#bankInterestIncome").val("${data.income.bankInterestIncome}");
	                    $("#fundIncome").val("${data.income.fundIncome}");
	                    $("#stockIncome").val("${data.income.stockIncome}");
	                    $("#insuranceIncome").val("${data.income.insuranceIncome}");
	                    $("#rentalHouseIncome").val("${data.income.rentalHouseIncome}");
	                    $("#knowledgeIncome").val("${data.income.knowledgeIncome}");
	                    $("#otherInvestIncome").val("${data.income.otherInvestIncome}");
	                    $("#otherPropertyIncome").val("${data.income.otherPropertyIncome}");
	                    $("#salaryIncome").val("${data.income.salaryIncome}");
	                    $("#bonusIncome").val("${data.income.bonusIncome}");
	                    $("#subsidyIncome").val("${data.income.subsidyIncome}");
	                    $("#overtimeIncome").val("${data.income.overtimeIncome}");
	                    $("#secondEmployIncome").val("${data.income.secondEmployIncome}");
	                    $("#partTimeIncome").val("${data.income.partTimeIncome}");
	                    $("#otherIncome").val("${data.income.otherIncome}");
	                    $("#agriculteIncome").val("${data.income.agriculteIncome}");
	                    $("#distributeIncome").val("${data.income.distributeIncome}");
	                    $("#unemployInsurance").val("${data.income.unemployInsurance}");
	                    $("#pension").val("${data.income.pension}");
	                    $("#retired").val("${data.income.retired}");
	                    $("#assistantIncome").val("${data.income.assistantIncome}");
	                    $("#jobsSubsidy").val("${data.income.jobsSubsidy}");
	                    $("#socialInsuranceSubsidy").val("${data.income.socialInsuranceSubsidy}");
	                    $("#survivorsSubsidy").val("${data.income.survivorsSubsidy}");
	                    $("#lotteryIncome").val("${data.income.lotteryIncome}");
	                    $("#alimony").val("${data.income.alimony}");
	                    $("#dismiss").val("${data.income.dismiss}");
	                    $("#compensationIncome").val("${data.income.compensationIncome}");
	                    $("#donation").val("${data.income.donation}");
	                    $("#giftIncome").val("${data.income.giftIncome}");
	                    $("#inheritanceIncome").val("${data.income.inheritanceIncome}");
	                    $("#scholarship").val("${data.income.scholarship}");
	                    $("#soldierSubsidy").val("${data.income.soldierSubsidy}");
	                    $("#highSubsidy").val("${data.income.highSubsidy}");
	                    $("#heatingSubsidy").val("${data.income.heatingSubsidy}");
	                    $("#friendsPartnerFee").val("${data.income.friendsPartnerFee}");
	                    $("#oneTimeAddPension").val("${data.income.oneTimeAddPension}");
	                    $("#oneTimeHouseFund").val("${data.income.oneTimeHouseFund}");
	                    $("#oneTimeAddHouseFund").val("${data.income.oneTimeAddHouseFund}");
	                    $("#otherSubsidy").val("${data.income.otherSubsidy}");
                    $("#familyMemberId").val("${data.id}");
                    //$("#birthday").val("${(data.birthday)?string('yyyy-MM-dd')}");
                }
                </#list>
         }
     </script>
</@fn.header>
<body>
	<div class="rightBk">
    	<@fn.position _value="信息录入 &gt;&gt; 家庭成员可支配收入" />
        
        <!-- 选项卡 -->
        <div style="margin:0px 0;height:30px">
	        <ul class="tab">
	           <li><a href="/infoInput/familyBasicInfo/${checkTotalId}">核对家庭基本信息</a></li>
	           <li><a href="/infoInput/familyMemberInfo/${checkTotalId}">核对家庭成员基本信息</a></li>
	            <li class="visited"><a href="/infoInput/familyMemberIncome/${checkTotalId}">家庭成员可支配收入</a></li>
	            <li><a href="memberProperty.html">家庭成员财产</a></li>
	            <li><a href="sendCheck.html">发送街镇核实</a></li>
	        </ul>
        </div>
        
                <!-- title -->
        <div class="title">
            <div class="title-middle">
                <div class="title-left"></div>
                <div class="title-caption">核对家庭成员可支配收入申报信息概要</div>
                <div class="title-right"></div>
            </div>
        </div>
        
        <!-- table -->
        <table class="tableCenter" cellspacing="0" cellpadding="0">
            <tr>
                <th width="8%">序号</th>
                <th width="15%">姓名</th>
                <th width="26%">与申请人代表关系</th>
                <th width="26%">证件号</th>
                <th width="15%">总计</th>
            </tr>
            <#list familyMembers as fm>
  			<tr>
    			<td>${fm_index+1}</td>
    			<td><a href="#" onclick="return showPerson('${fm.id}');">${fm.name}</a></td>
    			<td>${fm.relationMainApplicant}</td>
    			<td>${fm.idNumber}</td>
    			<td>${fm.totalIncome}</td>
  			</tr>
  			</#list>
        </table>
        <br />
        <!-- title -->
        <div class="title marginTop15" onclick="showTable();">
            <div class="title-middle">
                <div class="title-left"></div>
                <div class="title-caption">核对家庭成员可支配收入申报</div>
                <div class="title-right"></div>
            </div>
        </div> 
        
        <!-- table -->
        <table class="table2" style="display:none;" id="table2">
            <colgroup>
                <col style="width: 130px; background-color: #eef3f7;" />
                <col style="width: 270px;" />
                <col style="width: 80px;" />
                <col style="width: 80px; background-color: #eef3f7; text-align:center;" />
                <col style="width: 120px;" />
                <col style="width: 100px;" />
            </colgroup>
            <tr class="bkWhite">
                <td colspan="6">
                    <input name="selectShenBaoQiShiRiQi" type="text" id="selectShenBaoQiShiRiQi" class="input4" value="2010-02-01" onclick="WdatePicker()"/>
                    至
                    <input name="selectShenBaoJieZhiRiQi" type="text" id="selectShenBaoJieZhiRiQi" class="input4" value="2011-01-31" onclick="WdatePicker()"/>
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    工资性收入
                </td>
                <td>
                    实发收入
                </td>
                <td>
                    <input name="txtKeZhiPeiShiFaShouRu" type="text" id="txtKeZhiPeiShiFaShouRu" class="input4" />
                </td>
                <td rowspan="13">
                    转移性<br />
                    收入
                </td>
                <td>
                    失业保险金
                </td>
                <td>
                    <input name="txtKeZhiPeiZYShiYe" type="text" id="txtKeZhiPeiZYShiYe" class="input4"/>
                </td>
            </tr>
            <tr>
                <td>
                    实发收入(无劳动合同及固定单位)
                </td>
                <td>
                    <input name="txtKeZhiPeiShiFaShouRuWuHT" type="text" id="txtKeZhiPeiShiFaShouRuWuHT" class="input4"/>
                </td>
                <td>
                    养老金或离退休金
                </td>
                <td>
                    <input name="txtKeZhiPeiZYYangLaoLiTui" type="text" id="txtKeZhiPeiZYYangLaoLiTui" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    经营性净收入
                </td>
                <td>
                    从事未经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingXingWeiDengJi" type="text" id="txtKeZhiPeiJingYingXingWeiDengJi" class="input4"/>
                </td>
                <td>
                    社会救济收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiJiuJi" type="text" id="txtKeZhiPeiZYSheHuiJiuJi" class="input4" />
                </td>
            </tr>
            <tr>
                <td>
                    从事经工商、劳动部门登记的经营活动的净收入
                </td>
                <td>
                    <input name="txtKeZhiPeiJingYingDengJi" type="text" id="txtKeZhiPeiJingYingDengJi" class="input4"/>
                </td>
                <td>
                    支内回沪补贴
                </td>
                <td>
                    <input name="txtKeZhiPeiZYZhiNeiHuiHu" type="text" id="txtKeZhiPeiZYZhiNeiHuiHu" class="input4"/>
                </td>
            </tr>
            <tr>
                <td rowspan="6">
                    财产性收入
                </td>
                <td>
                    银行存款利息收入
                </td>
                <td>
                    <input name="txtKeZhiPeiCunKuanLiXi" type="text" id="txtKeZhiPeiCunKuanLiXi" class="input4" />
                </td>
                <td>
                    就业岗位补贴
                </td>
                <td>
                    <input name="txtKeZhiPeiZYJiuYeGangWei" type="text" id="txtKeZhiPeiZYJiuYeGangWei" class="input4"/>
                </td>
            </tr>
            <tr>
                <td>
                    基金收益
                </td>
                <td>
                    <input name="txtKeZhiPeiJiJinShouYi" type="text" id="txtKeZhiPeiJiJinShouYi" class="input4"/>
                </td>
                <td>
                    社会保险费补贴
                </td>
                <td>
                    <input name="txtKeZhiPeiZYSheHuiBaoXian" type="text" id="txtKeZhiPeiZYSheHuiBaoXian" class="input4" />
                </td>
            </tr>
            <tr>
                <td>
                    股息与红利收入
                </td>
                <td>
                    <input name="txtKeZhiPeiGuXiHongLi" type="text" id="txtKeZhiPeiGuXiHongLi" class="input4"/>
                </td>
                <td>
                    遗属补助金
                </td>
                <td>
                    <input name="txtKeZhiPeiZYYiZhu" type="text" id="txtKeZhiPeiZYYiZhu" class="input4" />
                </td>
            </tr>
            <tr>
                <td>
                    保险收益
                </td>
                <td>
                    <input name="txtKeZhiPeiBaoXian" type="text" id="txtKeZhiPeiBaoXian" class="input4" />
                </td>
                <td>
                    彩票收益
                </td>
                <td>
                    <input name="txtKeZhiPeiCaiPiao" type="text" id="txtKeZhiPeiCaiPiao" class="input4" />
                </td>
            </tr>
            <tr>
                <td>
                    出租收入
                </td>
                <td>
                    <input name="txtKeZhiPeiCaiChanChuZu" type="text" id="txtKeZhiPeiCaiChanChuZu" class="input4" />
                </td>
                <td>
                    赡、抚（扶）养费
                </td>
                <td>
                    <input name="txtKeZhiPeiZYShanFuYang" type="text" id="txtKeZhiPeiZYShanFuYang" class="input4" />
                </td>
            </tr>
            <tr>
                <td>
                    其他(注明): <input name="txtKeZhiPeiCaiCQiTaShuoM" type="text" id="txtKeZhiPeiCaiCQiTaShuoM" class="input4"/>
                </td>
                <td>
                    <input name="txtKeZhiPeiCaiChanQiTa" type="text" id="txtKeZhiPeiCaiChanQiTa" class="input4" />
                </td>
                <td>
                    捐赠、赠送收入
                </td>
                <td>
                    <input name="txtKeZhiPeiZYJuanZeng" type="text" id="txtKeZhiPeiZYJuanZeng" class="input4" />
                </td>
            </tr>
            <tr>
                <td colspan="3" rowspan="3">&nbsp;
                    
                </td>
                <td>
                    奖学金
                </td>
                <td>
                    <input name="txtKeZhiPeiZYJiangXueJin" type="text" id="txtKeZhiPeiZYJiangXueJin" class="input4"/>
                </td>
            </tr>
            <tr>
                <td>
                    义务兵自谋职业补助金
                </td>
                <td>
                    <input name="txtKeZhiPeiZYYiWuBing" type="text" id="txtKeZhiPeiZYYiWuBing" class="input4" tabindex="32" />
                </td>
            </tr>
            <tr>
                <td>
                    其他(注明): <input name="txtKeZhiPeiZYQiTShuoM" type="text" id="txtKeZhiPeiZYQiTShuoM" class="input4" tabindex="33" />
                </td>
                <td>
                    <input name="txtKeZhiPeiZYQiTaZhi" type="text" id="txtKeZhiPeiZYQiTaZhi" class="input4" tabindex="35" />
                </td>
            </tr>
            <tr>
                <td>
                    个人可支配收入总计
                </td>
                <td colspan="5">
                    <input name="txtKeZhiPeiZongJi" type="text" id="txtKeZhiPeiZongJi" class="input4" value="0.00" />
                    元
                </td>
            </tr>
		</table>
        
        <!-- button -->
        <div class="marginTop15 alignCenter">
            <img src="${base}/web/img/btnSave.gif" alt="" />
            <img src="${base}/web/img/btnCancel.gif" alt="" />
            <img src="${base}/web/img/btnLast.gif" alt="" />
            <img src="${base}/web/img/btnNext.gif" alt="" />
        </div>
        

	</div>
</body>
</html>